Hey G
Glad someone is paying attention ;-) Well spotted.
Doing a permutation of the people ought to make it fairer. Which is important if your name is near the front of the alphabet. Will update the post. Thanks!rota = do
g<-newStdGen
h<-newStdGen
return . sort $ zipWith (++) (cycle $ shuffle' ps (length ps) h) (shuffle' js (length js) g)
Another
code block
You're welcome Charlie. Given the number of tasks I may have just saved you in your house, I wonder if you'd consider repaying me by picking up one - just one - of my household's tasks over the next year. I've used you script* and made is specific to my household ...
ps = ["Me"]
js = [ "Clean entire flat"]
* I'm also not sure the script is working - every week it seems to be emailing me, and nobody else. Is there no justice in this world?